import { AssetManager } from "cc";
import { AssetInfo } from "../base/AssetInfo";

export interface IAssetCollectionInfoImp
{
    instanceId:number;
    assetInfos : Array<AssetInfo>;
    callBack : Function;
    callBackCacheData : any;
    AddAssetInfo(assetInfo : AssetInfo);
    AddLoadDoneCallBack(func : Function, cacheData : any);
    SetAsset(assetInfo : AssetInfo, asset : AssetManager.Bundle);
    GetAsset(assetInfo : AssetInfo) : AssetManager.Bundle;
    SetLoadDoneState();
    get IsDone():boolean;
    Release();
}